package com.ruoyi.books.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 非遗背景汇总对象 books_background
 * 
 * @author ruoyi
 * @date 2024-04-02
 */
public class BooksBackground extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 表ID */
    private Long backgroundId;

    /** 所属项目ID */
    @Excel(name = "所属项目ID")
    private Long backgroundAscriptionId;

    /** 标题 */
    @Excel(name = "标题")
    private String backgroundTitle;

    /** 内容 */
    @Excel(name = "内容")
    private String backgroundText;

    public void setBackgroundId(Long backgroundId) 
    {
        this.backgroundId = backgroundId;
    }

    public Long getBackgroundId() 
    {
        return backgroundId;
    }
    public void setBackgroundAscriptionId(Long backgroundAscriptionId) 
    {
        this.backgroundAscriptionId = backgroundAscriptionId;
    }

    public Long getBackgroundAscriptionId() 
    {
        return backgroundAscriptionId;
    }
    public void setBackgroundTitle(String backgroundTitle) 
    {
        this.backgroundTitle = backgroundTitle;
    }

    public String getBackgroundTitle() 
    {
        return backgroundTitle;
    }
    public void setBackgroundText(String backgroundText) 
    {
        this.backgroundText = backgroundText;
    }

    public String getBackgroundText() 
    {
        return backgroundText;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("backgroundId", getBackgroundId())
            .append("backgroundAscriptionId", getBackgroundAscriptionId())
            .append("backgroundTitle", getBackgroundTitle())
            .append("backgroundText", getBackgroundText())
            .toString();
    }
}
